package cn.tedu.spring.example;

import org.springframework.stereotype.Component;
//@Component 注解描述的类，表示将此类交给spring框架管理
@Component
public class User {
    public void run(){
        System.out.println("人生得意需尽欢");
    }
}
